|
SET MATRIX PRIORITY
This command will change the priority at which the matrix is rendered to the screen.
SET MATRIX PRIORITY Matrix Number, Priority Flag
Matrix Number
Integer
The matrix number
Priority Flag
Integer
By default the matrix priority is zero and the matrix is rendered before objects, particles and other 3D elements. Changing the priority to one will cause the matrix to be drawn after all 3D elements instead
This command does not return a value.
By default the matrix priority is zero and the matrix is rendered before objects, particles and other 3D elements. Changing the priority to one will cause the matrix to be drawn after all 3D elements instead, allowing the ability to render a ghosted matrix over an object that may be submerged partly within the matrix.
ink rgb(0,255,0),0
box 1,1,101,101
get image 1,0,0,101,101
make matrix 1,1000,1000,25,25
prepare matrix texture 1,1,1,1
position matrix 1,0,0,0
set matrix priority 1,0
update matrix 1
do
loop
if matrix exist(1)=1 then delete matrix 1
end
MATRIX Commands Menu
Index
|